﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FiFaChamps
{
    public class Player
    {
        public int id { get; set;}
        public string name { get; set; }
        public string surname { get; set; }
        public string email { get; set; }
        public string phone {get; set;}
        public string nickname { get; set; }
        public bool? onlineplayer { get; set; }
        public int? firstTeam { get; set; }
        public int? secondTeam {get; set; }
        public string playerPicture { get; set; }
        public Player (string name, string surname, string email, string phone, string nickname,bool? onlineplayer, int? firstTeam, int? secondTeam, string playerPicture )
        {
              
               this.name = name;
               this.surname = surname;
               this.email = email;
               this.phone = phone;
               this.nickname = nickname;
               this.onlineplayer = onlineplayer;
               this.firstTeam = firstTeam;
               this.secondTeam = secondTeam;
               this.playerPicture= playerPicture;
        }
        
        public Player()
        { 
        }
    }


}
